<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org">
<head>
    <th:block th:include="include :: header('信件工单详情')"/>
</head>
<style>
    .bootstrap-tagsinput > input {
        display: none;
    }
</style>

<body style="background-color: #F4F6FA">
<div id="admui-siteConTabs " class="main-content" style="margin: 0;padding: 0">

    <form id="form-user-add" class="form-horizontal" th:object="${mmailWorkForm}" style="background-color: #F4F6FA">
        <input type="hidden" name="pkId" id="pkId" th:field="*{pkId}">
        <input type="hidden" name="crtStepId" id="htbNextID">
        <input type="hidden" name="crtStepName" id="htbNextName">
        <input type="hidden" name="fpDirect" id="opAct">


        <div class="col-sm-12" style="display: flex">
            <!--     左       -->
            <div class="col-sm-6 entering-page">
                <!--   来电基本信息     -->
                <div class="col-sm-12 tltieBoder">
                    <div class="blueBorder"></div>
                    <h4 style="margin:0 0 0 10px">来电记录及工单情况</h4>
                </div>
                <!--事发地址-->
                <div class="col-sm-12 entering-mt">
                    <div class="form-group col-sm-6">
                        <label class="col-sm-4 control-label entering-pd">地区：</label>
                        <div class="col-sm-8">
                            <input name="fmAreaName" th:field="*{fmAreaName}"
                                   class="form-control scene " type="text">
                        </div>
                    </div>
                    <div class="col-sm-6">
                        <input name="fmAddress" th:field="*{fmAddress}"
                               class="form-control scene " type="text">
                    </div>
                </div>
                <div class="col-sm-12">
                    <div class="form-group col-sm-6">
                        <label class="col-sm-4 control-label  entering-pd">来电人：</label>
                        <div class="col-sm-8">
                            <input name="fromName" th:field="*{fromName}"
                                   class="form-control scene " type="text">
                        </div>
                    </div>
                    <div class="form-group col-sm-6">
                        <label class="col-sm-4 control-label entering-pd">性别：</label>
                        <div class="col-sm-8">
                            <input name="smSex" th:value="*{fromSex == 0?'女':'男'}"
                                   class="form-control scene " type="text">
                        </div>
                    </div>
                </div>
                <div class="col-sm-12 entering-mt">
                    <div class="form-group col-sm-6">
                        <label class="col-sm-4 control-label is-required entering-pd">联系电话：</label>
                        <div class="col-sm-8">
                            <input name="fromTel" th:field="*{fromTel}"
                                   class="form-control scene theAddress" type="text">
                        </div>
                    </div>
                    <div class="form-group col-sm-6">
                        <label class="col-sm-4 control-label is-required entering-pd">Email：</label>
                        <div class="col-sm-8">
                            <input name="fmEmail" th:field="*{fmEmail}"
                                   class="form-control scene theAddress" type="text">
                        </div>
                    </div>
                </div>
                <!-- 来电类型,内容类别..-->
                <div class="col-sm-12">
                    <div class="form-group col-sm-6">
                        <label class="col-sm-4 control-label entering-pd">流水号：</label>
                        <div class="col-sm-8">
                            <input id="wsCode" name="wsCode" th:field="*{wsCode}"
                                   class="form-control serial"
                                   type="text"
                                   maxlength="11" required="" disabled>
                        </div>
                    </div>
                    <div class="form-group col-sm-6">
                        <label class="col-sm-4 control-label entering-pd">提取码：</label>
                        <div class="col-sm-8">
                            <input name="wsKey"
                                   class="form-control code"
                                   type="text" th:field="*{wsKey}"
                                   maxlength="11" required="" disabled>
                        </div>
                    </div>
                </div>
                <!--来电类容-->
                <div class="col-sm-12">
                    <div class="form-group col-sm-6">
                        <label class="col-sm-4 control-label is-required entering-pd">信件类别：</label>
                        <div class="col-sm-8">
                            <input name="dfmClaName" th:field="*{dfmClaName}"
                                   class="form-control scene theAddress" type="text" disabled>
                        </div>
                    </div>
                    <div class="form-group col-sm-6">
                        <label class="col-sm-4 control-label is-required entering-pd">信件状态：</label>
                        <div class="col-sm-8">

                            <input name="workFormNo" th:value="${mailGetDeal.stateDesc}"
                                   class="form-control scene theAddress" type="text">
                        </div>
                    </div>

                </div>
                <!--备注坐席-->
                <div class="col-sm-12">
                    <div class="form-group col-sm-6">
                        <label class="col-sm-4 control-label entering-pd">公开标记：</label>
                        <div class="col-sm-8" style="margin-top: 8px;">
                            <span th:class="${openFrom==1 ? 'spLRed':'spLBlue'}"
                                  th:text="${openFrom == 1 ? '已公开' : '未公开'}"></span>(来信人同意否)
                        </div>
                    </div>
                    <div class="form-group col-sm-6">
                        <label class="col-sm-4 control-label entering-pd">内容类别：</label>
                        <div class="col-sm-8">
                            <input name="dcntAName" th:field="*{dcntAName}"
                                   class="form-control scene theAddress" type="text">
                        </div>
                    </div>
                </div>
            </div>
            <!--     右       -->
            <div class="col-sm-6 entering-page">
                <div class="col-sm-12">
                    <div class="col-sm-12 tltieBoder">
                        <div class="blueBorder"></div>
                        <h4 style="margin:0 0 0 10px">信件内容</h4>
                    </div>
                    <div class="col-sm-12">
                        <div class="form-group col-sm-6 spLBlue" style="">
                            <label class="col-sm-4 control-label entering-pd">信件来源：</label>
                            <div class="col-sm-8" style="margin-top: 8px">
                                <span th:text="${spareString}"></span>
                            </div>
                        </div>
                    </div>
                    <div class="col-sm-12">
                        <div class="form-group">
                        <label class="col-sm-2 control-label entering-pd" >主题：</label>
                        <div class="col-sm-10">
                            <input name="fromTopic" th:field="*{fromTopic}"
                                   class="form-control code"
                                   type="text">
                        </div>
                        </div>
                    </div>
                    <div class="col-sm-12" style="margin: 8px 0 8px 0;">
                        <div class="form-group">
                            <label class="col-xs-2 control-label entering-pd">内容：</label>
                            <div class="col-xs-10">
                                <textarea name="fmContent" maxlength="3500" th:field="*{fmContent}"
                                          class="form-control workRemark"
                                          rows="3" style="height: 120px"></textarea>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
        <div class="col-sm-12 entering-page">
            <div class="col-sm-12 tltieBoder">
                <div class="blueBorder"></div>
                <h4 style="margin:0 0 0 10px">处理情况</h4>
            </div>
            <div class="col-sm-12">
                <div class="form-group col-sm-6">
                    <label class="col-sm-4 control-label is-required entering-pd">历史工单：</label>
                    <div class="col-sm-8">

                        <input name="workFormNo" th:value="${mailGetDeal.repeatNos}"
                               class="form-control scene theAddress" type="text" disabled>
                    </div>
                </div>
                <div class="form-group col-sm-6">
                    <label class="col-sm-4 control-label is-required entering-pd">重复标记：</label>
                    <div class="col-sm-8" style="margin-top: 8px;">
                        <span th:class="${mailGetDeal.repeatFlag ==1 ? 'spLRed':'spLBlue'}"
                              th:text="${mailGetDeal.repeatFlag == 1 ? '重复' : '未重复'}"></span>
                    </div>
                </div>
            </div>
            <div class="col-sm-12">
                <div class="form-group col-sm-6">
                    <label class="col-sm-4 control-label  entering-pd">提交时间：</label>
                    <div class="col-sm-8">
                        <input class="form-control code" id="xinputTime" type="text" name="setProName"
                               th:value="${#dates.format(mailGetDeal.xinputTime,'yyyy-MM-dd HH:mm:ss')}"/>
                    </div>
                </div>
                <div class="form-group col-sm-6">
                    <label class="col-sm-4 control-label entering-pd">处理时间：</label>
                    <div class="col-sm-8">
                        <input name="yeditTime" th:value="${#dates.format(mailGetDeal.yeditTime,'yyyy-MM-dd HH:mm:ss')}"
                               class="form-control code"
                               type="text">
                    </div>
                </div>
            </div>
            <div class="col-sm-12" style="margin: 8px 0 8px 0;">
                <div class="form-group col-sm-6">
                    <label class="col-xs-4 control-label entering-pd">处理描述：</label>
                    <div class="col-xs-8">
                        <textarea name="ysysDesc" maxlength="3500" th:value="${mailGetDeal.ydealDesc}"
                                  class="form-control workRemark" rows="3" style="height: 120px"></textarea>
                    </div>
                </div>
                <div class="form-group col-sm-6">
                    <label class="col-xs-4 control-label entering-pd">备注：</label>
                    <div class="col-xs-8">
                        <textarea name="ysysDesc" maxlength="3500" th:field="${mailGetDeal.ysysDesc}"
                                  class="form-control workRemark" rows="3" style="height: 120px"></textarea>
                    </div>
                </div>
            </div>
            <div class="col-sm-12 entering-bt" style="justify-content: center;">
                <button type="button" class="btn btn-sm btn-warning" onclick="$.modal.closeTab()">关闭
                </button>&nbsp;
            </div>
        </div>
    </form>
</div>
<script th:src="@{/ajax/libs/layui/laydate.js}"></script>
<th:block th:include="include :: footer"/>

</body>
</html>

